import { FC, memo } from 'react'
import { LeftFooterWrapper } from './style'

interface IState {
  children?: React.ReactNode
  asideWidth: number
}

const Main: FC<IState> = memo((props) => {
  const { asideWidth } = props
  return (
    <LeftFooterWrapper>
      {asideWidth === 200 ? (
        <span className="iconfont item icon-cebianzhankaishousuo_zuojiantou"></span>
      ) : (
        <span className="iconfont item icon-cebianzhankaishousuo_youjiantou"></span>
      )}
    </LeftFooterWrapper>
  )
})

export default Main
